package cn.zjitc.jdbc.service;

import cn.zjitc.jdbc.domain.Account;

import java.util.List;

public interface AccountService {
    void transfer(Account from, Account to, double money);
    void update(Account account);
    Account findById(Integer id);
    void save(Account account);
    void deleteById(Integer id);
    List<Account> findAll();
}
